// +build wireinject

// The build tag makes sure the stub is not built in the final build.

package main

import (
	"github.com/go-kratos/kratos/v2"
	"github.com/go-kratos/kratos/v2/log"
	"github.com/google/wire"
	"go_private_im/internal/comet/biz"
	"go_private_im/internal/comet/conf"
	"go_private_im/internal/comet/server"
	"go_private_im/internal/comet/service"
)

// initApp init kratos application.
func initApp(conf *conf.Config,logger log.Logger) (*kratos.App) {
	panic(wire.Build(NewConsul,biz.ProviderSet,service.ProviderSet,server.ProviderSet, newApp))
}
